package com.b511.swpu.cementbackend.service;

import com.b511.swpu.cementbackend.dto.output.SysMenuTreeOutputDto;
import com.b511.swpu.cementbackend.entity.SysMenu;
import com.b511.swpu.cementbackend.entity.SysUser;
import com.b511.swpu.cementbackend.util.R;

import java.util.List;
import java.util.Set;

public interface SysMenuService {

    R addMenu(SysMenu sysMenu);

    R getSysMenuTreeOutputDto();

    Set<SysMenuTreeOutputDto> getSysMenuTreeOutputDtoByUser(SysUser sysUser);
}
